package com.planet.common.autoconfigure.utils;

import org.apache.commons.lang3.RandomStringUtils;

/**
 * @Description: TODO 验证码生成器
 * @Author: mis_wu
 * @Date: 2023/8/27
 * @Company code
 **/
public class CodeGenerateUtil {

    /**
     * 获取6位验证码
     * @return String
     */
    public static String get6BitCode(){

        return RandomStringUtils.randomNumeric(6);
    }
}
